package com.yuexunit.operationman.nbsy.module.nurse.Bean;

import java.util.ArrayList;

/**
 * Created by work-jx on 2017/7/20.
 */
public class NurseBean {

    /**
     * code : 200
     * desc : 发送数据成功
     * object : {"nursing":{"nursingId":50,"operationNo":"2017222961","patientNo":null,"patientName":"杨汉高","patientSex":"1","patientAge":47,"patientArea":"泌尿外科","patientBed":"16009","preoperativeDiagnosis":"输尿管结石","operationDate":"2017-6-12","operationRoom":null,"operationName":"膀胱镜拔管","inHospitalNo":"201722296","status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null,"doctorName":"周立斌"},"anaesthesia":{"anaesthesiaId":16,"nursingId":50,"drugDesc":"隐隐约约;5555","anesthetist":"很尴尬","startTime":"2017-07-20 12:02:00.0","operationStartTime":"2017-07-20 14:02:00.0","operationEndTime":"2017-07-20 17:02:00.0","operationDoctor":"发达的","operationDesc":"点点滴滴","createTime":null,"status":1},"nursingItemList":[{"nursingItemId":735,"nursingId":50,"itemCode":"BP_Time","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":736,"nursingId":50,"itemCode":"BP_Skin","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":737,"nursingId":50,"itemCode":"BP_YaoWuGuoMing","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":738,"nursingId":50,"itemCode":"BP_YaChuangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":739,"nursingId":50,"itemCode":"BP_YaChuangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":740,"nursingId":50,"itemCode":"BP_ZhuiChuangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":741,"nursingId":50,"itemCode":"BP_ZhuiChuangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":742,"nursingId":50,"itemCode":"BP_TangShangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":743,"nursingId":50,"itemCode":"BP_TangShangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":744,"nursingId":50,"itemCode":"SP_TiWei","itemName":null,"itemValue":";;;1;30;;1;;;","itemOther":""},{"nursingItemId":745,"nursingId":50,"itemCode":"SP_YueShuDaiGudingWeizhi","itemName":null,"itemValue":"1;1","itemOther":"高规格"},{"nursingItemId":746,"nursingId":50,"itemCode":"SP_DianJiBanFangZhiWeiZhi","itemName":null,"itemValue":";1;;1;;1","itemOther":"你会更"},{"nursingItemId":747,"nursingId":50,"itemCode":"SP_ZhiXueDai","itemName":null,"itemValue":";1;哈哈哈哈哈;2017-07-20 17:02~2017-07-20 16:02;2017-07-20 17:06~2017-07-20 17:06","itemOther":null},{"nursingItemId":748,"nursingId":50,"itemCode":"SP_ZhiRuWu","itemName":null,"itemValue":";1;","itemOther":null},{"nursingItemId":749,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_BingDongQiePian","itemName":null,"itemValue":"哥哥发的时代;55553;0","itemOther":null},{"nursingItemId":750,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_ChangGuiQiePian","itemName":null,"itemValue":"gggg;555;0","itemOther":null},{"nursingItemId":751,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_other","itemName":null,"itemValue":"哥哥哥哥;55555;1","itemOther":null},{"nursingItemId":752,"nursingId":50,"itemCode":"SP_YinLiuWu","itemName":null,"itemValue":";1;发达的等待;点点滴滴;","itemOther":null},{"nursingItemId":753,"nursingId":50,"itemCode":"SP_MaZuiZhongLei","itemName":null,"itemValue":";;;1;","itemOther":null},{"nursingItemId":754,"nursingId":50,"itemCode":"AP_Skin","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":755,"nursingId":50,"itemCode":"Other","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":756,"nursingId":50,"itemCode":"SP_MZ_HR","itemName":null,"itemValue":"5555;447;;;;;;;;;;;;","itemOther":null},{"nursingItemId":757,"nursingId":50,"itemCode":"SP_MZ_BP","itemName":null,"itemValue":"5555/5555;555/555;;;;;;;;;;;;","itemOther":null},{"nursingItemId":758,"nursingId":50,"itemCode":"SP_MZ_OS","itemName":null,"itemValue":"5555;555;;;;;;;;;;;;","itemOther":null}]}
     */

    private int code;
    private String desc;
    /**
     * nursing : {"nursingId":50,"operationNo":"2017222961","patientNo":null,"patientName":"杨汉高","patientSex":"1","patientAge":47,"patientArea":"泌尿外科","patientBed":"16009","preoperativeDiagnosis":"输尿管结石","operationDate":"2017-6-12","operationRoom":null,"operationName":"膀胱镜拔管","inHospitalNo":"201722296","status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null,"doctorName":"周立斌"}
     * anaesthesia : {"anaesthesiaId":16,"nursingId":50,"drugDesc":"隐隐约约;5555","anesthetist":"很尴尬","startTime":"2017-07-20 12:02:00.0","operationStartTime":"2017-07-20 14:02:00.0","operationEndTime":"2017-07-20 17:02:00.0","operationDoctor":"发达的","operationDesc":"点点滴滴","createTime":null,"status":1}
     * nursingItemList : [{"nursingItemId":735,"nursingId":50,"itemCode":"BP_Time","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":736,"nursingId":50,"itemCode":"BP_Skin","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":737,"nursingId":50,"itemCode":"BP_YaoWuGuoMing","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":738,"nursingId":50,"itemCode":"BP_YaChuangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":739,"nursingId":50,"itemCode":"BP_YaChuangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":740,"nursingId":50,"itemCode":"BP_ZhuiChuangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":741,"nursingId":50,"itemCode":"BP_ZhuiChuangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":742,"nursingId":50,"itemCode":"BP_TangShangFengXian","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":743,"nursingId":50,"itemCode":"BP_TangShangYuFang","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":744,"nursingId":50,"itemCode":"SP_TiWei","itemName":null,"itemValue":";;;1;30;;1;;;","itemOther":""},{"nursingItemId":745,"nursingId":50,"itemCode":"SP_YueShuDaiGudingWeizhi","itemName":null,"itemValue":"1;1","itemOther":"高规格"},{"nursingItemId":746,"nursingId":50,"itemCode":"SP_DianJiBanFangZhiWeiZhi","itemName":null,"itemValue":";1;;1;;1","itemOther":"你会更"},{"nursingItemId":747,"nursingId":50,"itemCode":"SP_ZhiXueDai","itemName":null,"itemValue":";1;哈哈哈哈哈;2017-07-20 17:02~2017-07-20 16:02;2017-07-20 17:06~2017-07-20 17:06","itemOther":null},{"nursingItemId":748,"nursingId":50,"itemCode":"SP_ZhiRuWu","itemName":null,"itemValue":";1;","itemOther":null},{"nursingItemId":749,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_BingDongQiePian","itemName":null,"itemValue":"哥哥发的时代;55553;0","itemOther":null},{"nursingItemId":750,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_ChangGuiQiePian","itemName":null,"itemValue":"gggg;555;0","itemOther":null},{"nursingItemId":751,"nursingId":50,"itemCode":"SP_ShouShuBiaoBen_other","itemName":null,"itemValue":"哥哥哥哥;55555;1","itemOther":null},{"nursingItemId":752,"nursingId":50,"itemCode":"SP_YinLiuWu","itemName":null,"itemValue":";1;发达的等待;点点滴滴;","itemOther":null},{"nursingItemId":753,"nursingId":50,"itemCode":"SP_MaZuiZhongLei","itemName":null,"itemValue":";;;1;","itemOther":null},{"nursingItemId":754,"nursingId":50,"itemCode":"AP_Skin","itemName":null,"itemValue":"","itemOther":""},{"nursingItemId":755,"nursingId":50,"itemCode":"Other","itemName":null,"itemValue":"","itemOther":null},{"nursingItemId":756,"nursingId":50,"itemCode":"SP_MZ_HR","itemName":null,"itemValue":"5555;447;;;;;;;;;;;;","itemOther":null},{"nursingItemId":757,"nursingId":50,"itemCode":"SP_MZ_BP","itemName":null,"itemValue":"5555/5555;555/555;;;;;;;;;;;;","itemOther":null},{"nursingItemId":758,"nursingId":50,"itemCode":"SP_MZ_OS","itemName":null,"itemValue":"5555;555;;;;;;;;;;;;","itemOther":null}]
     */

    private ObjectEntity object;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setObject(ObjectEntity object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public ObjectEntity getObject() {
        return object;
    }

    public static class ObjectEntity {
        /**
         * nursingId : 50
         * operationNo : 2017222961
         * patientNo : null
         * patientName : 杨汉高
         * patientSex : 1
         * patientAge : 47
         * patientArea : 泌尿外科
         * patientBed : 16009
         * preoperativeDiagnosis : 输尿管结石
         * operationDate : 2017-6-12
         * operationRoom : null
         * operationName : 膀胱镜拔管
         * inHospitalNo : 201722296
         * status : 1
         * createId : null
         * createName : null
         * createTime : null
         * updateId : null
         * updateName : null
         * updateTime : null
         * doctorName : 周立斌
         */

        private NursingEntity nursing;
        /**
         * anaesthesiaId : 16
         * nursingId : 50
         * drugDesc : 隐隐约约;5555
         * anesthetist : 很尴尬
         * startTime : 2017-07-20 12:02:00.0
         * operationStartTime : 2017-07-20 14:02:00.0
         * operationEndTime : 2017-07-20 17:02:00.0
         * operationDoctor : 发达的
         * operationDesc : 点点滴滴
         * createTime : null
         * status : 1
         */

//        private AnaesthesiaEntity anaesthesia;
        /**
         * nursingItemId : 735
         * nursingId : 50
         * itemCode : BP_Time
         * itemName : null
         * itemValue :
         * itemOther : null
         */

        private ArrayList<NursingItemListEntity> nursingItemList;

        public void setNursing(NursingEntity nursing) {
            this.nursing = nursing;
        }

//        public void setAnaesthesia(AnaesthesiaEntity anaesthesia) {
//            this.anaesthesia = anaesthesia;
//        }

        public void setNursingItemList(ArrayList<NursingItemListEntity> nursingItemList) {
            this.nursingItemList = nursingItemList;
        }

        public NursingEntity getNursing() {
            return nursing;
        }

//        public AnaesthesiaEntity getAnaesthesia() {
//            return anaesthesia;
//        }

        public ArrayList<NursingItemListEntity> getNursingItemList() {
            return nursingItemList;
        }

        public static class NursingEntity {
            private String nursingId;
            private String operationNo;
            private String patientNo;
            private String patientName;
            private String patientSex;
            private String patientAge;
            private String patientArea;
            private String patientBed;
            private String preoperativeDiagnosis;
            private String operationDate;
            private String operationRoom;
            private String operationName;
            private String inHospitalNo;
            private String status;
            private String createId;
            private String createName;
            private String createTime;
            private String updateId;
            private String updateName;
            private String updateTime;
            private String doctorName;

            public void setNursingId(String nursingId) {
                this.nursingId = nursingId;
            }

            public void setOperationNo(String operationNo) {
                this.operationNo = operationNo;
            }

            public void setPatientNo(String patientNo) {
                this.patientNo = patientNo;
            }

            public void setPatientName(String patientName) {
                this.patientName = patientName;
            }

            public void setPatientSex(String patientSex) {
                this.patientSex = patientSex;
            }

            public void setPatientAge(String patientAge) {
                this.patientAge = patientAge;
            }

            public void setPatientArea(String patientArea) {
                this.patientArea = patientArea;
            }

            public void setPatientBed(String patientBed) {
                this.patientBed = patientBed;
            }

            public void setPreoperativeDiagnosis(String preoperativeDiagnosis) {
                this.preoperativeDiagnosis = preoperativeDiagnosis;
            }

            public void setOperationDate(String operationDate) {
                this.operationDate = operationDate;
            }

            public void setOperationRoom(String operationRoom) {
                this.operationRoom = operationRoom;
            }

            public void setOperationName(String operationName) {
                this.operationName = operationName;
            }

            public void setInHospitalNo(String inHospitalNo) {
                this.inHospitalNo = inHospitalNo;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public void setCreateId(String createId) {
                this.createId = createId;
            }

            public void setCreateName(String createName) {
                this.createName = createName;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public void setUpdateId(String updateId) {
                this.updateId = updateId;
            }

            public void setUpdateName(String updateName) {
                this.updateName = updateName;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public void setDoctorName(String doctorName) {
                this.doctorName = doctorName;
            }

            public String getNursingId() {
                return nursingId;
            }

            public String getOperationNo() {
                return operationNo;
            }

            public String getPatientNo() {
                return patientNo;
            }

            public String getPatientName() {
                return patientName;
            }

            public String getPatientSex() {
                return patientSex;
            }

            public String getPatientAge() {
                return patientAge;
            }

            public String getPatientArea() {
                return patientArea;
            }

            public String getPatientBed() {
                return patientBed;
            }

            public String getPreoperativeDiagnosis() {
                return preoperativeDiagnosis;
            }

            public String getOperationDate() {
                return operationDate;
            }

            public String getOperationRoom() {
                return operationRoom;
            }

            public String getOperationName() {
                return operationName;
            }

            public String getInHospitalNo() {
                return inHospitalNo;
            }

            public String getStatus() {
                return status;
            }

            public String getCreateId() {
                return createId;
            }

            public String getCreateName() {
                return createName;
            }

            public String getCreateTime() {
                return createTime;
            }

            public String getUpdateId() {
                return updateId;
            }

            public String getUpdateName() {
                return updateName;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public String getDoctorName() {
                return doctorName;
            }
        }

        public static class AnaesthesiaEntity {
            /**主键**/
            private String anaesthesiaId;
            /**护理Id**/
            private String nursingId;
            /**麻醉药及剂量**/
            private String drugDesc;
            /**麻醉者**/
            private String anesthetist;
            /**巡回医生**/
            private String circuitDoctor;
            /**麻醉开始时间**/
            private String anesthesiaStartTime;
            /**麻醉结束时间**/
            private String anesthesiaEndTime;
            /**手术开始时间**/
            private String operationStartTime;
            /**手术结束时间**/
            private String operationEndTime;
            /**手术医生**/
            private String operationDoctor;
            /**创建时间**/
            private String createTime;
            /**状态**/
            private String status;
            /**手术前病况**/
            private String beforeOperationDesc;
            /**手术后病况**/
            private String afterOperationDesc;
            /**手术室内所给药物及引流物**/
            private String drugDrain;
            /**手术后医嘱**/
            private String doctorAdvice;

            public String getAnaesthesiaId() {
                return anaesthesiaId;
            }

            public void setAnaesthesiaId(String anaesthesiaId) {
                this.anaesthesiaId = anaesthesiaId;
            }

            public String getNursingId() {
                return nursingId;
            }

            public void setNursingId(String nursingId) {
                this.nursingId = nursingId;
            }

            public String getDrugDesc() {
                return drugDesc;
            }

            public void setDrugDesc(String drugDesc) {
                this.drugDesc = drugDesc;
            }

            public String getAnesthetist() {
                return anesthetist;
            }

            public void setAnesthetist(String anesthetist) {
                this.anesthetist = anesthetist;
            }

            public String getCircuitDoctor() {
                return circuitDoctor;
            }

            public void setCircuitDoctor(String circuitDoctor) {
                this.circuitDoctor = circuitDoctor;
            }

            public String getAnesthesiaStartTime() {
                return anesthesiaStartTime;
            }

            public void setAnesthesiaStartTime(String anesthesiaStartTime) {
                this.anesthesiaStartTime = anesthesiaStartTime;
            }

            public String getAnesthesiaEndTime() {
                return anesthesiaEndTime;
            }

            public void setAnesthesiaEndTime(String anesthesiaEndTime) {
                this.anesthesiaEndTime = anesthesiaEndTime;
            }

            public String getOperationStartTime() {
                return operationStartTime;
            }

            public void setOperationStartTime(String operationStartTime) {
                this.operationStartTime = operationStartTime;
            }

            public String getOperationEndTime() {
                return operationEndTime;
            }

            public void setOperationEndTime(String operationEndTime) {
                this.operationEndTime = operationEndTime;
            }

            public String getOperationDoctor() {
                return operationDoctor;
            }

            public void setOperationDoctor(String operationDoctor) {
                this.operationDoctor = operationDoctor;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getBeforeOperationDesc() {
                return beforeOperationDesc;
            }

            public void setBeforeOperationDesc(String beforeOperationDesc) {
                this.beforeOperationDesc = beforeOperationDesc;
            }

            public String getAfterOperationDesc() {
                return afterOperationDesc;
            }

            public void setAfterOperationDesc(String afterOperationDesc) {
                this.afterOperationDesc = afterOperationDesc;
            }

            public String getDrugDrain() {
                return drugDrain;
            }

            public void setDrugDrain(String drugDrain) {
                this.drugDrain = drugDrain;
            }

            public String getDoctorAdvice() {
                return doctorAdvice;
            }

            public void setDoctorAdvice(String doctorAdvice) {
                this.doctorAdvice = doctorAdvice;
            }
        }

        public static class NursingItemListEntity {
            private String nursingItemId;
            private String nursingId;
            private String itemCode;
            private String itemName;
            private String itemValue;
            private String itemOther;

            public void setNursingItemId(String nursingItemId) {
                this.nursingItemId = nursingItemId;
            }

            public void setNursingId(String nursingId) {
                this.nursingId = nursingId;
            }

            public void setItemCode(String itemCode) {
                this.itemCode = itemCode;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public void setItemValue(String itemValue) {
                this.itemValue = itemValue;
            }

            public void setItemOther(String itemOther) {
                this.itemOther = itemOther;
            }

            public String getNursingItemId() {
                return nursingItemId;
            }

            public String getNursingId() {
                return nursingId;
            }

            public String getItemCode() {
                return itemCode;
            }

            public String getItemName() {
                return itemName;
            }

            public String getItemValue() {
                return itemValue;
            }

            public String getItemOther() {
                return itemOther;
            }
        }
    }
}
